package com.jumi.microservice.stock.dto;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @ClassName JmStockLogRequest
 * @Description 日志标识字段
 * @Author
 * @Date
 **/
public class StockLogIdentificationDO implements Serializable {

    private static final long serialVersionUID = -7358857398633183480L;

    @ApiModelProperty(value = "是否为更新操作0:否 1：是")
    private Byte isUpdate;
    @ApiModelProperty(value = "是否为取消订单0:否 1：是")
    private Byte isCancellationOrder;
    @ApiModelProperty(value = "记录日志变动原因id")
    private String changeReasonId;
    @ApiModelProperty(value = "占用日志类型")
    private Byte logTypes;
    @ApiModelProperty(value = "是否为售后出库")
    private Byte isSaleOut;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Byte getIsUpdate() {
        return isUpdate;
    }

    public void setIsUpdate(Byte isUpdate) {
        this.isUpdate = isUpdate;
    }

    public Byte getIsCancellationOrder() {
        return isCancellationOrder;
    }

    public void setIsCancellationOrder(Byte isCancellationOrder) {
        this.isCancellationOrder = isCancellationOrder;
    }

    public String getChangeReasonId() {
        return changeReasonId;
    }

    public void setChangeReasonId(String changeReasonId) {
        this.changeReasonId = changeReasonId;
    }

    public Byte getLogTypes() {
        return logTypes;
    }

    public void setLogTypes(Byte logTypes) {
        this.logTypes = logTypes;
    }

    public Byte getIsSaleOut() {
        return isSaleOut;
    }

    public void setIsSaleOut(Byte isSaleOut) {
        this.isSaleOut = isSaleOut;
    }

    @Override
    public String toString() {
        return "StockLogIdentificationDO{" +
                "isUpdate=" + isUpdate +
                ", isCancellationOrder='" + isCancellationOrder + '\'' +
                ", changeReasonId=" + changeReasonId +
                ", logTypes=" + logTypes +
                ",isSaleOut"+isSaleOut+
                '}';
    }
}
